@echo off

setlocal

set CLASSPATH=config

for %%i in (lib/*.jar) do call :append %%i
goto okClasspath

:append
set CLASSPATH=%CLASSPATH%;lib/%*
goto :eof

:okClasspath
@echo on
java -Xms40m -Xmx512m -classpath %CLASSPATH% pl.xentivo.migration.Launcher
@echo off
endlocal